home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / STUTTGART / NEWSOFT / AUGUST / FREEDIAL / !FreeDial / DefScript < prev    next >
Text File  |  1996-04-14  |  2KB  |  67 lines

  1. #
  2. # This is an example of a script file for FreeDial, its syntax is:
  3. #
  4. # Any empty lines or lines starting with '#' or '|' are ignored
  5. # Lines starting with '*' are treated as system commands
  6. #
  7. # Send <string>   - sends <string> to the modem
  8. # SendCR <string> - sends <string> to the modem, followed by a carriage return
  9. # SendGS <string> - sends <string> GStransed to the modem
  10. # Wait <string>   - waits until <string> is received from the modem
  11. # Answer          - Lets the modem answer the phone and wait for CONNECT message
  12. # GetIP <varname> - waits until an IP number is received, and places it in
  13. #                   the given system variable
  14. # GetWord <varname> reads the next sequence of non-whitespace characters, and
  15. #                   places it in the given system variable
  16. # TimeOut <n>     - sets the timeout to n cs. when waiting for modem responses
  17. # Pause <n>       - delays script execution for n seconds
  18. # Login           - sends the login name, as selected from FreeDials frontend
  19. # Password        - sends the password, as selected
  20. # Echo <string>   - Displays <string> in the dial window status icon
  21. # ResConf         - Configure resboot and resconf files for the name resolver module
  22. # Task <string>   - Execute string as a command in a new task slot. Use 'Task'
  23. #                   to start programs and for any disc-based command. *command
  24. #                   does not provide a new task slot and using * to start a new
  25. #                   program will overwrite FreeDial, resulting in FreeDial's
  26. #                   violent death!
  27. #
  28. # Keyword matching is case-insensitive, string matching for the Wait command
  29. # IS case-sensitive
  30. #
  31. # Note that this is just the login dialogue, modem settings are found in the
  32. # modem driver files in <FreeDial$Config>.Modems
  33.  
  34. # These variables are directly passed to FreeNet and MUST be set, if not
  35. # already from FreeDials frontend:
  36. # Inet$LocalIP
  37. # Inet$RemoteIP
  38. # Inet$RouterIP
  39. # Inet$NameServer1IP
  40. # Inet$NameServer2IP
  41. # Inet$NameServer3IP
  42. # Inet$NodeName
  43. # Inet$Domain
  44. # Inet$FullName
  45. #
  46. # Inet$Password can be read in this script, it is deleted when it quits.
  47.  
  48. Pause 1
  49. Echo Logging in
  50. Wait ogin:
  51. Login
  52. Wait assword:
  53. Password
  54. Wait >
  55. SendCR slip
  56. Wait from
  57. GetIP Inet$RemoteIP
  58. Wait to
  59. GetIP Inet$LocalIP
  60.  
  61. ResConf
  62.  
  63. Echo Starting SLIP
  64. Task InetStack:SLIP
  65.  
  66. Quit
  67.